package com.dmjj.limit.service;

import com.dmjj.common.base.BaseService;
import com.dmjj.common.base.LoginEntity;
import com.dmjj.limit.dto.RoleDTO;

import java.util.Map;

/**
 * ${comments}业务处理接口
 * @Author zhangxue
 * @Date 2019-03-21 09:40:56
 */
public interface RoleService extends BaseService<RoleDTO, Long> {

    Integer update(RoleDTO entityDTO);

    /**
     * 获取用户角色权限与数据权限
     * @Author zhangxue
     * @Date 2019-03-21 09:40:56
     * @Param
     * @Return
     */
    Map<String, Object> queryUserLimitByToken(LoginEntity loginEntity);
}
